if (isset(f5)) {
start.motion(o0);
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  load.view(16);
  set.view(o1,16);
  animate.obj(o1);
  position(o1,58,60);
  draw(o1);
    if(has("book")){

    load.view(29);
    set.view(o2,29);
    position(o2,67,122);
    animate.obj(o2);
    stop.cycling(o2);
    draw(o2);



   }
  if (v1 == 11) {
    position(o0,26,86);
    status.line.on();
    accept.input();
    v6 = 3;
        }
  if (v1 == 9) {
    position(o0,60,165);
    status.line.on();
    accept.input();
    v6 = 1;
        }
  if (v1 == 12) {
    position(o0,122,82);
    v6 = 7;
    status.line.on();
    accept.input();


   }
  draw(o0);
  show.pic();
  }
  if(posn(o0,28,150,124,155)){
   if(has("book")){
  if(v170 == 7){
  return();
  }
  print("Max: 'finally you're here.'");
  print("You: 'I bought a joke book.'");
  print("Max: 'I'll go in front and you come after me when you have the jokes ready what you will tell.'");
  print("You: 'I'll remeber the page numbers so I could find them easily.'");
    print("Max: 'Ok. I'll go now'");
      print("You: 'Wish me luck.'");
        print("Max: 'Good luck'");
        v170 = 7;
    start.cycling(o2);
    move.obj(o2,131,85,1,f66);
    return();
    }
    return();

    }
    if(posn(o2,113,79,134,92)){
    erase(o2);
  }
if (posn(o0,17,77,20,93)) {
  new.room(11);
}
if (posn(o0,129,78,138,92)) {
  if(v170 == 7){
  if(v171 == 3){
  new.room(12);
  }
  new.room(23);
  }
  new.room(12);
}
if (v2 == 3) {
  new.room(9);
}
if(said("look","aquarium")){
print("There are gold fishes.");
}
if(said("look","walls")){
print("The walls are light blue.");
}
if(said("look","floor")){
print("It's a........floor.");
}
if(said("look")){
print("You're in the club. There's a door on the left and one on the right. There's also an aqarium");

}
if(v50 == 3){
erase(o2);
}
return();